package com.shuma.shopmanage.shopmodule.service.serviceImpl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shuma.shopmanage.model.shop.model.NonDeliverableCity;
import com.shuma.shopmanage.shopmodule.mapper.NonDeliverableCityMapper;
import com.shuma.shopmanage.shopmodule.service.NonDeliverableCityService;
import org.springframework.stereotype.Service;

import java.util.HashMap;

@Service
public class NonDeliverableCityServiceImpl extends ServiceImpl<NonDeliverableCityMapper, NonDeliverableCity>  implements NonDeliverableCityService{

    @Override
    public void removeByGoodsId(Long goodsId) {
        HashMap<String, Object> map = new HashMap<>();
        map.put("goodsId", goodsId);
        removeByMap(map);

    }
}